<template>
  <div class="shiliao-container">
    <div class="clearfix">
      <div class="adjustment"></div>
      <div class="shiliao-item">
        <img src="../../../assets/himages/collection3.png" alt="">
        <router-link class="shiliao-shop-text" to="/shopdetail">
          <p class="shiliao-title">红豆薏仁粉</p>
          <p class="shiliao-descript">
            红豆薏仁粉红豆薏仁粉红豆薏仁粉红豆薏仁粉红豆薏仁粉红豆薏仁粉红豆薏仁
          </p>
          <p class="shiliao-price">
            <span>￥245</span>
            <span>696666人付款</span>
            <span>...</span>
          </p>
        </router-link>
      </div>
    </div>
    
  </div>
</template>

<script>
  export default {
    name: 'Paidu'
  }
</script>

<style scoped>
.shiliao-container{
  margin-top: 0.18rem;
}
.adjustment{
  width: 100%;
  height: 0.15rem;
  background-color: #f1f1f1;
}
.shiliao-item{
  padding: 0.2rem;
}
.shiliao-item img{
  width: 2.2rem;
  height: 2.2rem;
  float: left;
  margin-right: 0.25rem;
}
.shiliao-shop-text{
  margin: 0.16rem 0;
    float: left;
}

.shiliao-descript{
  width: 4.6rem;
  margin: 0.25rem 0;
  font-size: 0.26rem;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  

}
.shiliao-price{
  display: flex;
}
.shiliao-price>span{
  flex-grow: 1;
}
.shiliao-price>span:first-child{
  color: #EA0707;
}
.shiliao-price>span:nth-child(2){
  display: block;
  font-size: 0.24rem;
  color: #999;
  transform: translateY(0.04rem);
}
.shiliao-price>span:last-child{
  text-align: center;
}



</style>